<template>
  <div>
    <vue-editor v-model="content"></vue-editor>
    <div @click="aa">数据</div>
  </div>
</template>
 
<script>
import { VueEditor } from "vue2-editor";

export default {
  components: {
    VueEditor
  },
  data () {
    return {
      content: "<h1>Some initial content</h1>"
    };
  },
  methods: {
    aa () {
      console.log(this.content);
    }
  }
};
</script>